package com.care.system.common.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.care.common.core.annotation.Excel;
import com.care.common.core.web.domain.BaseEntity;

/**
 * 钱包明细对象 t_record
 *
 * @author 李光耀负责
 * @date 2024-03-25
 */
public class TRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 钱包记录编号 */
    private Long recordId;

    /** 钱包编号 */
    @Excel(name = "钱包编号")
    private Long purseId;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String recordUuid;

    /** 交易类型(1提现, 2门诊, 3购物, 4充值, 5其他) */
    @Excel(name = "交易类型(1提现, 2门诊, 3购物, 4充值, 5其他)")
    private Long recordType;

    /** 交易方式(1支付宝 2微信 3银行卡 4零钱) */
    @Excel(name = "交易方式(1支付宝 2微信 3银行卡 4零钱)")
    private Long recordTrade;

    /** 交易属性(1支出 , 2收入) */
    @Excel(name = "交易属性(1支出 , 2收入)")
    private Long recordStatus;

    /** 交易金额 */
    @Excel(name = "交易金额")
    private BigDecimal recordAmount;

    /** 交易备注 */
    @Excel(name = "交易备注")
    private String recordRemark;

    /** 创建时间 */
    private Date createdTime;

    /** 积分记录 */
    @Excel(name = "积分记录")
    private Long recordIntegral;

    public void setRecordId(Long recordId)
    {
        this.recordId = recordId;
    }

    public Long getRecordId()
    {
        return recordId;
    }
    public void setPurseId(Long purseId)
    {
        this.purseId = purseId;
    }

    public Long getPurseId()
    {
        return purseId;
    }
    public void setRecordUuid(String recordUuid)
    {
        this.recordUuid = recordUuid;
    }

    public String getRecordUuid()
    {
        return recordUuid;
    }
    public void setRecordType(Long recordType)
    {
        this.recordType = recordType;
    }

    public Long getRecordType()
    {
        return recordType;
    }
    public void setRecordTrade(Long recordTrade)
    {
        this.recordTrade = recordTrade;
    }

    public Long getRecordTrade()
    {
        return recordTrade;
    }
    public void setRecordStatus(Long recordStatus)
    {
        this.recordStatus = recordStatus;
    }

    public Long getRecordStatus()
    {
        return recordStatus;
    }
    public void setRecordAmount(BigDecimal recordAmount)
    {
        this.recordAmount = recordAmount;
    }

    public BigDecimal getRecordAmount()
    {
        return recordAmount;
    }
    public void setRecordRemark(String recordRemark)
    {
        this.recordRemark = recordRemark;
    }

    public String getRecordRemark()
    {
        return recordRemark;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setRecordIntegral(Long recordIntegral)
    {
        this.recordIntegral = recordIntegral;
    }

    public Long getRecordIntegral()
    {
        return recordIntegral;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("recordId", getRecordId())
            .append("purseId", getPurseId())
            .append("recordUuid", getRecordUuid())
            .append("recordType", getRecordType())
            .append("recordTrade", getRecordTrade())
            .append("recordStatus", getRecordStatus())
            .append("recordAmount", getRecordAmount())
            .append("recordRemark", getRecordRemark())
            .append("createdTime", getCreatedTime())
            .append("recordIntegral", getRecordIntegral())
            .toString();
    }
}
